package com.ly.cloudzuul.web;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
// 这里前缀命名不能为 zuul
@RequestMapping("demo")
public class HelloDo {

    @RequestMapping("hello")
    public String hello(String name) {
        return "hello " + name;
    }

}
